/*
 * AttackType.cpp
 *
 *  Created on: Oct 8, 2011
 *  Created by: Devin Manno
 *  Updated by: Devin Manno,
 *	Last Update: Oct 19, 2011
 */

#include "AttackType.h"
const int maxDamage = 10;

// AttackType
// Generates an empty attack
AttackType::AttackType(){
	description = "None";
	baseDamage = 0;
	actionPointsCost = 0;
}

AttackType::AttackType(string name, int bDamage, int apCost){
	description = name;
	baseDamage = bDamage;
	actionPointsCost = apCost;
}

AttackType::~AttackType() {
	// TODO Auto-generated destructor stub
}

// getters
int AttackType::getBaseDamage()const {
	return baseDamage;
}


int AttackType::getActionPointsCost()const{
	return actionPointsCost;
}

string AttackType::getDesc()const{
	return description;
}

// setters
void AttackType::setBaseDamage(int newDmg){
	baseDamage = newDmg;
}


void AttackType::setActionPointsCost(int newAPCost){
	actionPointsCost = newAPCost;
}

void AttackType::setDesc(std::string desc){
	description = desc;
}
